   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }

        :root {
            --primary: #ff6b00;
            --primary-light: #ff8b33;
            --secondary: #4a90e2;
            --success: #27ae60;
            --danger: #e74c3c;
            --text: #333;
            --text-light: #666;
            --text-lighter: #999;
            --border: #e0e0e0;
            --bg: #f8f9fa;
            --card-bg: #ffffff;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        body {
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
            padding: 20px;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border);
        }

        .page-title {
            font-size: 24px;
            font-weight: 600;
            color: var(--text);
            display: flex;
            align-items: center;
        }

        .page-title i {
            margin-right: 10px;
            color: var(--primary);
        }

        .card {
            background: var(--card-bg);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 25px;
            margin-bottom: 25px;
            transition: all 0.3s ease;
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border);
        }

        .card-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text);
            display: flex;
            align-items: center;
        }

        .card-title i {
            margin-right: 8px;
            color: var(--primary);
        }

        /* 地址卡片样式 */
        .address-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }

        .address-card {
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 20px;
            position: relative;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .address-card:hover {
            border-color: var(--primary);
        }

        .address-card.selected {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
            background-color: #fffaf5;
        }

        .default-tag {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: var(--primary);
            color: white;
            padding: 2px 8px;
            font-size: 12px;
            border-radius: 3px;
        }

        .address-info {
            margin-bottom: 10px;
        }

        .address-name {
            font-weight: 600;
            margin-bottom: 5px;
        }

        .address-text {
            font-size: 14px;
            color: var(--text-light);
            line-height: 1.5;
        }

        .address-phone {
            margin-top: 5px;
            font-size: 14px;
            color: var(--text-light);
        }

        .address-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
        }

        .btn-action {
            color: var(--secondary);
            background: none;
            border: none;
            cursor: pointer;
            font-size: 14px;
            display: flex;
            align-items: center;
        }

        .btn-action i {
            margin-right: 5px;
        }

        .btn-action:hover {
            color: var(--primary);
        }

        /* 订单信息样式 */
        .order-items {
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
        }

        .order-header {
            display: grid;
            grid-template-columns: 3fr 1fr 1fr 1fr;
            padding: 12px 20px;
            background-color: #f8f9fa;
            font-weight: 600;
            font-size: 14px;
        }

        .order-item {
            display: grid;
            grid-template-columns: 3fr 1fr 1fr 1fr;
            padding: 15px 20px;
            border-top: 1px solid var(--border);
        }

        .item-info {
            display: flex;
            align-items: center;
        }

        .item-image {
            width: 60px;
            height: 60px;
            border-radius: 6px;
            object-fit: cover;
            margin-right: 15px;
            background-color: #f1f1f1;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ccc;
        }

        .item-details {
            flex: 1;
        }

        .item-name {
            font-weight: 500;
            margin-bottom: 5px;
        }

        .item-property {
            font-size: 13px;
            color: var(--text-lighter);
        }

        .item-price,
        .item-quantity,
        .item-subtotal {
            display: flex;
            align-items: center;
            font-size: 15px;
        }

        .item-price {
            color: var(--primary);
            font-weight: 500;
        }

        .item-subtotal {
            color: var(--text);
            font-weight: 600;
        }

        /* 订单备注 */
        .order-notes {
            margin-top: 20px;
        }

        .notes-label {
            display: block;
            margin-bottom: 10px;
            font-weight: 500;
        }

        .notes-input {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 14px;
            min-height: 80px;
            resize: vertical;
        }

        .notes-input:focus {
            outline: none;
            border-color: var(--primary);
        }

        .char-count {
            text-align: right;
            font-size: 12px;
            color: var(--text-lighter);
            margin-top: 5px;
        }

        /* 支付详情 */
        .payment-summary {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            margin-top: 20px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            font-size: 15px;
        }

        .summary-label {
            color: var(--text-light);
        }

        .summary-value {
            font-weight: 500;
        }

        .total-row {
            border-top: 1px solid var(--border);
            padding-top: 15px;
            margin-top: 5px;
            font-size: 18px;
            font-weight: 600;
        }

        .total-amount {
            color: var(--primary);
            font-size: 24px;
        }

        .submit-container {
            display: flex;
            justify-content: flex-end;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
        }

        .submit-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 30px;
            padding: 14px 40px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }

        .submit-btn:hover {
            background-color: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
        }

        .submit-btn i {
            margin-right: 8px;
        }

        /* 模态框样式 */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal.show {
            display: flex;
        }

        .modal-content {
            background-color: white;
            border-radius: 12px;
            width: 90%;
            max-width: 600px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            position: relative;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border);
        }

        .modal-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--text);
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-lighter);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-group select,
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 16px;
        }

        .address-selects {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        .save-address-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 30px;
            padding: 12px 30px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            display: block;
            width: 100%;
            margin-top: 20px;
        }

        @media (max-width: 768px) {

            .order-header,
            .order-item {
                grid-template-columns: 2fr 1fr 1fr;
            }

            .order-header span:nth-child(2),
            .order-item .item-property {
                display: none;
            }

            .address-container {
                grid-template-columns: 1fr;
            }

            .address-selects {
                grid-template-columns: 1fr;
            }
        }